-- CALC_PLANET_FRAGMENT_WRECAKGE_BONUS

-- 计算【行星碎片】冒险者残骸奖励
return function(user, bonusArg)
    local randSeed  = DungeonM.getRandSeed("CALC_PLANET_FRAGMENT_WRECAKGE_BONUS");
    local bonus;
    local arr = { { ["class_id"] = 7298, ["amount"] = 1, ["ratio"] = 20, },     -- 物品“兴奋剂”×1
                  { ["class_id"] = 7197, ["amount"] = 1, ["ratio"] = 5, },      -- 物品“被污染的野猪肉”×1
                  { ["class_id"] = 7287, ["amount"] = 1, ["ratio"] = 15, }, };  -- 物品“烂掉的野果”×1
    local ret = {};
 
    bonus = fetchElemBySeed(arr, randSeed);
    table.insert(ret, { 1, bonus["class_id"], bonus["amount"], });
    
    return ret;
end